package com.baomibing.flow.service;

import com.baomibing.flow.dto.SysFlowTrackDto;

import java.util.List;

public interface SysFlowTrackService {

    void saveTrack(SysFlowTrackDto track);

    void updateTrack(SysFlowTrackDto track);

    List<SysFlowTrackDto> listTrackByInstance(String instanceId);

    void deleteByInstance(String instanceId);

    void saveTracks(List<SysFlowTrackDto> tracks);
}
